FROM ubuntu:latest

MAINTAINER Claire

ENV UBUNTU_SOURCE /etc/apt

COPY ./ /root

WORKDIR /root

ADD sources.list $UBUNTU_SOURCE

RUN echo "$UBUNTU_SOURCE/sources.list"

#RUN echo -e "deb https://mirrors.cloud.tencent.com/ubuntu/ jammy-updates main restricted\n" > /etc/apt/sources.list && \
#    echo -e "deb https://mirrors.cloud.tencent.com/ubuntu/ jammy universe\n" >> $UBUNTU_SOURCE/sources.list && \
#    echo -e "deb https://mirrors.cloud.tencent.com/ubuntu/ jammy-updates universe\n" >> $UBUNTU_SOURCE/sources.list && \
#    echo -e "deb https://mirrors.cloud.tencent.com/ubuntu/ jammy multiverse\n" >> $UBUNTU_SOURCE/sources.list && \
#    echo -e "deb https://mirrors.cloud.tencent.com/ubuntu/ jammy-updates multiverse\n" >> $UBUNTU_SOURCE/sources.list && \
#    echo -e "deb https://mirrors.cloud.tencent.com/ubuntu/ jammy-security main restricted\n" >> $UNUNTU_SOURCE/sources.list && \
#    echo "change sources successfully"
#    sudo  apt-get -qq update && \
#    sudo  apt-get -y install gcc-11 wget

CMD ["/bin/bash"] 

#RUN wget https://github.com/eunomia-bpf/releases/latest/download/ecli -O ecli && chmod +x ./ecli && \
#    ./ecli run package.json
